package gov.pr.celepar.sentinela.client.digester;

import org.apache.commons.lang.builder.ToStringBuilder;

public class Atributo {
	private String name;

	private String valor;

	public String getValor() {
		return this.valor;
	}

	public void setValor(String valor) {
		this.valor = valor;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String toString() {
		return new ToStringBuilder(this).append("name", getName()).append(
				"valor", getValor()).toString();
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if (!(other instanceof Atributo))
			return false;
		return super.equals(other);
	}
}
